const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
})

// vue.config.js
module.exports = {
  devServer: {
    port: 8081,
  }
};
module.exports = {
  devServer: {
    proxy: {
      '/user': {
        target: 'http://localhost:8080', // 后端实际地址
        changeOrigin: true,
        pathRewrite: {
          '^/user': ''
        }
      }
    }
  }
};

